package com.gemcoder.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.util.Map;
import javax.annotation.Resource;
import com.gemcoder.system.bo.Result;
import com.gemcoder.system.service.ProjectrunreportService;
import java.util.Map;

@Controller
@RequestMapping("/Projectrunreport")
public class ProjectrunreportController{

  @Resource private ProjectrunreportService ProjectrunreportService;

  

	@RequestMapping(value = "/fetchProjectData")
	@ResponseBody
	public Result fetchProjectData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ProjectrunreportService.fetchProjectData(paramMap);
	}
   

	@RequestMapping(value = "/fetchAllProjectData")
	@ResponseBody
	public Result fetchAllProjectData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ProjectrunreportService.fetchAllProjectData(paramMap);
	}
   

	@RequestMapping(value = "/exportCurrentRowData")
	@ResponseBody
	public Result exportCurrentRowData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ProjectrunreportService.exportCurrentRowData(paramMap);
	}
   

	@RequestMapping(value = "/exportCurrentMonthData")
	@ResponseBody
	public Result exportCurrentMonthData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ProjectrunreportService.exportCurrentMonthData(paramMap);
	}
   

}
